package com.mengyan.api.cms;

import com.mengyan.framework.domain.cms.CmsPage;
import com.mengyan.framework.domain.cms.CmsTemplate;
import com.mengyan.framework.domain.cms.request.QueryTemplateRequest;
import com.mengyan.framework.domain.cms.response.CmsPageResult;
import com.mengyan.framework.model.response.QueryResponseResult;
import com.mengyan.framework.model.response.ResponseResultBase;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;


public interface CmsTemplateControllerApi {
    QueryResponseResult findAll();

    QueryResponseResult findList (int page, int size, QueryTemplateRequest queryTemplateRequest);

    ResponseEntity<String> save(MultipartFile[] multipartfiles) throws IOException;

    ResponseResultBase<CmsTemplate> add(CmsTemplate cmsTemplate);
}
